package com.example.parttimejob.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("users")
public class User implements Serializable {
   @TableId(value = "user_id",type= IdType.AUTO)
   private Integer userId;
   private String username;
   private String passwd;
   private String realName;
   private String idCard;
   private String phone;
   private String email;
   private int verificationStatus ;
   private String accountStatus;
   private String address;
   private String img;
   private String sex;
}
